package com.university.trade.service.impl;

import javax.annotation.Resource;

import com.university.trade.dao.ReceiptAddressMapper;
import com.university.trade.entity.ReceiptAddress;
import com.university.trade.service.ReceiptAddressService;

public class ReceiptAddressServiceImpl implements ReceiptAddressService {
	@Resource
	private ReceiptAddressMapper receiptAddressMapper;
	@Override
	public int deleteByPrimaryKey(String receiptAddressId) {
		return this.receiptAddressMapper.deleteByPrimaryKey(receiptAddressId);
	}

	@Override
	public int insert(ReceiptAddress record) {
		return this.receiptAddressMapper.insert(record);
	}

	@Override
	public int insertSelective(ReceiptAddress record) {
		return this.receiptAddressMapper.insertSelective(record);
	}

	@Override
	public ReceiptAddress selectByPrimaryKey(String receiptAddressId) {
		return this.receiptAddressMapper.selectByPrimaryKey(receiptAddressId);
	}

	@Override
	public int updateByPrimaryKeySelective(ReceiptAddress record) {
		return this.receiptAddressMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(ReceiptAddress record) {
		return this.receiptAddressMapper.updateByPrimaryKey(record);
	}

}
